v 1   =   0   	 	 '   R a n d o m   M i n i m u m 
 
 v 2   =   1 0 	 	 '   R a n d o m   E x c u r s i o n 
 
 
 
 v 5   =   1 	 	 '   C o u n t e r   s t a r t 
 
 v 6   =   5 0 	 	 '   C o u n t e r   e n d 
 
 
 
 L a b e l   M a i n L o o p 
 
 	 G o s u b   W a i t A l l M o t O r s 
 
 	 S l o t ( 1 )   =   v 1   +   v 2   *   R n d 
 
 	 S l o t ( 3 )   =   v 1   +   v 2   *   R n d 
 
 	 S l o t ( 5 )   =   v 1   +   v 2   *   R n d 
 
 	 v 5   =   v 5   +   1 
 
 	 P r i n t   v 5   &   "   o f   "   &   v 6 
 
 	 I f   v 5   > =   v 6 
 
 	 	 G o t o   E n d 
 
 	 E n d I f 
 
 G o t o   M a i n L o o p 
 
 
 
 L a b e l   E n d 
 
 	 S l o t ( 1 )   =   0 
 
 	 S l o t ( 3 )   =   0 
 
 	 S l o t ( 5 )   =   0 
 
 E n d 
 
 
 
 L a b e l   W a i t A l l M o t o r s 
 
 	 W a i t   S e c o n d s   0 . 1   '   - - - -   e n s u r e   m o t o r s   r e a l l y   s t a r t e d 
 
 	 L a b e l   W a i t A l l M o t o r s 2 
 
 	 	 I f   A b s ( S l o t ( 2 ) )   +   A b s ( S l o t ( 4 ) )   +   A b s ( S l o t ( 6 ) )   <   0 . 0 1 
 
 	 	 	 R e t u r n 
 
 	 	 E n d I f 
 
 	 G o t o   W a i t A l l M o t o r s 2 
 
 R e t u r n 
 
 	 
 
 
 
 